﻿using System.Data.Entity.ModelConfiguration;
using QDT.Core.Domain;

namespace QDT.Core.MSData.Mapping
{
    public class BankMapping : EntityTypeConfiguration<Bank>
    {
        public BankMapping()
        {
            HasKey(x => x.ID);
            Property(x => x.IsRec).HasColumnName("Is_Rec");

            ToTable(DB.TPref("bank"));
        }
    }
}
